package com.ridaizu.model.form;

import java.util.Date;
import java.util.List;

import javax.faces.bean.SessionScoped;

import com.ridaizu.model.GoodsCatalogType;
import com.ridaizu.model.Model;

@javax.faces.bean.ManagedBean(name = "goodsCatalogTypeForm")
@SessionScoped
public class GoodsCatalogTypeForm extends Model {

	private static final long serialVersionUID = 1L;

	private String id;

	private String goodsCatalogId;

	private String goodsTypeId;

	private String rgtOpt;

	private Date rgtDate;

	private String updOpt;

	private Date updDate;

	private GoodsCatalogType selectedGoodsCatalogType;

	private List<GoodsCatalogType> selectedGoodsCatalogTypeList;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getGoodsCatalogId() {
		return goodsCatalogId;
	}

	public void setGoodsCatalogId(String goodsCatalogId) {
		this.goodsCatalogId = goodsCatalogId;
	}

	public String getGoodsTypeId() {
		return goodsTypeId;
	}

	public void setGoodsTypeId(String goodsTypeId) {
		this.goodsTypeId = goodsTypeId;
	}

	public String getRgtOpt() {
		return rgtOpt;
	}

	public void setRgtOpt(String rgtOpt) {
		this.rgtOpt = rgtOpt;
	}

	public Date getRgtDate() {
		return rgtDate;
	}

	public void setRgtDate(Date rgtDate) {
		this.rgtDate = rgtDate;
	}

	public String getUpdOpt() {
		return updOpt;
	}

	public void setUpdOpt(String updOpt) {
		this.updOpt = updOpt;
	}

	public Date getUpdDate() {
		return updDate;
	}

	public void setUpdDate(Date updDate) {
		this.updDate = updDate;
	}

	public GoodsCatalogType getSelectedGoodsCatalogType() {
		return selectedGoodsCatalogType;
	}

	public void setSelectedGoodsCatalogType(
			GoodsCatalogType selectedGoodsCatalogType) {
		this.selectedGoodsCatalogType = selectedGoodsCatalogType;
	}

	public List<GoodsCatalogType> getSelectedGoodsCatalogTypeList() {
		return selectedGoodsCatalogTypeList;
	}

	public void setSelectedGoodsCatalogTypeList(
			List<GoodsCatalogType> selectedGoodsCatalogTypeList) {
		this.selectedGoodsCatalogTypeList = selectedGoodsCatalogTypeList;
	}

	public void clearAll() {
		this.id = null;
		this.goodsCatalogId = null;
		this.goodsTypeId = null;
		this.rgtOpt = null;
		this.rgtDate = null;
		this.updOpt = null;
		this.updDate = null;
		this.selectedGoodsCatalogType = null;
		this.selectedGoodsCatalogTypeList = null;
	}

}
